package com.lsc.www.day09.hm;

import java.util.Scanner;

public class h11 {

    public static void main(String[] args) {
        System.out.println("输入三边的值：");
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        if (a + b > c && a + c > b && b + c > a) {
            System.out.println("可以构成三角形");
        } else {
            System.out.println("不可以构成三角形");
        }
    }
}

